package com.example.langchaindemo.service;

import dev.langchain4j.service.MemoryId;
import dev.langchain4j.service.SystemMessage;
import dev.langchain4j.service.UserMessage;
import dev.langchain4j.service.V;

public interface AiAssistant {
    String chat(String userMessage);

    @SystemMessage("现在你是一位{title},请用{title}的口吻与我对话")
    String chat(@UserMessage String userMessage, @V("title") String title);
    String chat(@MemoryId int memoryId, @UserMessage String userMessage);
}
